#ifndef ENEMY_H
#define ENEMY_H
#include <iostream>
#include <string>
#include "stdafx.h"
using namespace std;

class Enemy{
public:
	
	static const int East = 1;
	static const int West = 2;
	static const int North = 3;
	static const int South = 4;

	//4 Sekawan
	Enemy(string, string, int, int, int, int, int, int);
	Enemy(string, string, int, int, int);
	~Enemy();
	Enemy(const Enemy&);
	Enemy& operator= (const Enemy);

	//Getter Setter
	string getName();
	string getURL();
	int getHP();
	int getType();
	int getCost();
	int getPosX();
	int getPosY();

	void setName(string);
	void setURL(string);
	void setHP(int);
	void setType(int);
	void setCost(int);
	void setPosX(int);
	void setPosY(int);

	void move(sf::RenderWindow&,sf::Sprite&);
	void getDamage(int);
	bool isDead();

	void moveEast();
	void moveWest();
	void moveNorth();
	void moveSouth();
private:
	string name;
	string image_url;
	int HP;
	int type;
	int cost;
	int posx;
	int posy;
	int arah;
};

#endif